package cn.csc.module.pay.convert.funddetails;

import java.util.*;

import cn.csc.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.csc.module.pay.controller.admin.funddetails.vo.*;
import cn.csc.module.pay.dal.dataobject.funddetails.PayFundDetailsDO;

/**
 * 用户资金收支明细 Convert
 *
 * @author 华南城
 */
@Mapper
public interface PayFundDetailsConvert {

    PayFundDetailsConvert INSTANCE = Mappers.getMapper(PayFundDetailsConvert.class);

    PayFundDetailsDO convert(PayFundDetailsCreateReqVO bean);

    PayFundDetailsDO convert(PayFundDetailsUpdateReqVO bean);

    PayFundDetailsRespVO convert(PayFundDetailsDO bean);

    List<PayFundDetailsRespVO> convertList(List<PayFundDetailsDO> list);

    PageResult<PayFundDetailsRespVO> convertPage(PageResult<PayFundDetailsDO> page);

    List<PayFundDetailsExcelVO> convertList02(List<PayFundDetailsDO> list);

}
